public class fancyHelloWorld {
	public static void main (String[] args) {
		keyboard kb = new keyboard();	//input using the keyboard class
		System.out.println("Please input your first name:");	//Prompt the user to input their name
		String forename = kb.readString();	//Use the keyboard class to get the input string
		System.out.println("Please input your surname:");	//Prompt the user to input their surname
		String surname = kb.readString();	//Use the keyboard class to get the input string
		
		//Format the name so it starts with a capital letter and the rest is lower case
		forename = forename.toLowerCase().trim();	//Convert the whole word to lower case
		surname = surname.toLowerCase().trim();
		String outputForename = forename.substring(0,1).toUpperCase() + forename.substring(1);
		String outputSurname = surname.substring(0,1).toUpperCase() + surname.substring(1);
		
		System.out.println("Greetings Spectre " + outputForename + " " + outputSurname + ", Authorization granted.");	//Out put the greeing message
	}
}	